From: Richard M. Stallman Date: Tue, 8 Mar 1994 00:09:03 +0000 (+0000) Subject: (Fwindow_width): Doc fix. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~92819 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=3b5908ef6120f81b40934d9470258dafee211a0b;p=emacs.git (Fwindow_width): Doc fix. --- diff --git a/src/window.c b/src/window.c index 8c64e6c698f..ac65cf39ea5 100644 --- a/src/window.c +++ b/src/window.c @@ -257,7 +257,10 @@ DEFUN ("window-height", Fwindow_height, Swindow_height, 0, 1, 0, } DEFUN ("window-width", Fwindow_width, Swindow_width, 0, 1, 0, - "Return the number of columns in WINDOW.") + "Return the number of display columns in WINDOW.\n\ +This is the width that is usable columns available for text in WINDOW.\n\ +If you want to find out how many columns WINDOW takes up,\n\ +use (let ((edges (window-edges))) (- (nth 2 edges) (nth 0 edges))).") (window) Lisp_Object window; {